<?php
class User_LogoutController extends Zend_Controller_Action{
/*
	 * Created by: truonghm;
	 * Created date: 29/10/2010
	 * Function: xoa thong tin  Zend_Auth
	 */
	public function indexAction(){
		$auth = Zend_Auth::getInstance();
    	$auth->clearIdentity();
    	$session = Zend_Registry::get('session');
    	$session->privilege=null;
    	//Zend_Session::stop();
    	$this->_redirect('/user/login/');		
	}
}		
	
	